﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace KPIS.GERP.GIMS.MODEL
{
    [Serializable]
    public class PurchaseRequestInfo
    {
        private Nullable<int> seq;
        private string ref_no;
        private string name;
        private string reason;
        private string remark;
        private MasterPurchaseRuleInfo infoPurchaseRule;
        private SysPprTypeInfo infoPprType;
        private MasterPurchaseTypeInfo infoPurchaseType;
        private MasterPurchaseMethodInfo infoPurchaseMethod;
        private string methodReason;
        private SysYearTypeInfo infoYearType;
        private Nullable<int> bgmYear;
        private Nullable<DateTime> purchaseDate;
        private HrmEmployeeInfo infoPurchaseEmp;
        private HrmJobSiteInfo infoPurchaseJobSite;
        private Nullable<DateTime> confirmDate;
        private HrmEmployeeInfo infoConfirmEmp;
        private Nullable<DateTime> cancelDate;
        private HrmEmployeeInfo infoCancelEmp;
        private Nullable<DateTime> requireDate;
        private Nullable<int> requireDuration;
        private SysDurationTypeInfo infoDurationType;
        private SysDurationCountInfo infoDurationCount;
        private SysProgressInfo infoProgress;
        private SysRecordStatusInfo infoRecordStatus;
        private RecordInfo infoRecord;
        private Nullable<DateTime> approvedWhen;
        private string yearTypeDescr;
        private string sumAmount;
        private string purchaseType;

        public PurchaseRequestInfo()
        {

        }

        public Nullable<int> Seq
        {
            set { seq = value; }
            get { return seq; }
        }

        public string Ref_No
        {
            set { ref_no = value; }
            get { return ref_no; }
        }

        public string Name
        {
            set { name = value; }
            get { return name; }
        }

        public string Reason
        {
            set { reason = value; }
            get { return reason; }
        }

        public string Remark
        {
            set { remark = value; }
            get { return remark; }
        }

        public MasterPurchaseRuleInfo InfoPurchaseRule
        {
            set { infoPurchaseRule = value; }
            get { return infoPurchaseRule; }
        }

        public SysPprTypeInfo InfoPprType
        {
            set { infoPprType = value; }
            get { return infoPprType; }
        }

        public MasterPurchaseTypeInfo InfoPurchaseType
        {
            set { infoPurchaseType = value; }
            get { return infoPurchaseType; }
        }

        public MasterPurchaseMethodInfo InfoPurchaseMethod
        {
            set { infoPurchaseMethod = value; }
            get { return infoPurchaseMethod; }
        }

        public string MethodReason
        {
            set { methodReason = value; }
            get { return methodReason; }
        }

        public SysYearTypeInfo InfoYearType
        {
            set { infoYearType = value; }
            get { return infoYearType; }
        }

        public Nullable<int> BgmYear
        {
            set { bgmYear = value; }
            get { return bgmYear; }
        }

        public Nullable<DateTime> PurchaseDate
        {
            set { purchaseDate = value; }
            get { return purchaseDate; }
        }

        public HrmEmployeeInfo InfoPurchaseEmp
        {
            set { infoPurchaseEmp = value; }
            get { return infoPurchaseEmp; }
        }

        public HrmJobSiteInfo InfoPurchaseJobSite
        {
            set { infoPurchaseJobSite = value; }
            get { return infoPurchaseJobSite; }
        }

        public Nullable<DateTime> ConfirmDate
        {
            set { confirmDate = value; }
            get { return confirmDate; }
        }

        public HrmEmployeeInfo InfoConfirmEmp
        {
            set { infoConfirmEmp = value; }
            get { return infoConfirmEmp; }
        }

        public Nullable<DateTime> CancelDate
        {
            set { cancelDate = value; }
            get { return cancelDate; }
        }

        public HrmEmployeeInfo InfoCancelEmp
        {
            set { infoCancelEmp = value; }
            get { return infoCancelEmp; }
        }

        public Nullable<DateTime> RequireDate
        {
            set { requireDate = value; }
            get { return requireDate; }
        }

        public Nullable<int> RequireDuration
        {
            set { requireDuration = value; }
            get { return requireDuration; }
        }

        public SysDurationTypeInfo InfoDurationType
        {
            set { infoDurationType = value; }
            get { return infoDurationType; }
        }

        public SysDurationCountInfo InfoDurationCount
        {
            set { infoDurationCount = value; }
            get { return infoDurationCount; }
        }

        public SysProgressInfo InfoProgress
        {
            set { infoProgress = value; }
            get { return infoProgress; }
        }

        public SysRecordStatusInfo InfoRecordStatus
        {
            set { infoRecordStatus = value; }
            get { return infoRecordStatus; }
        }

        public RecordInfo InfoRecord
        {
            set { infoRecord = value; }
            get { return infoRecord; }
        }

        public Nullable<DateTime> ApprovedWhen
        {
            set { approvedWhen = value; }
            get { return approvedWhen; }
        }

        public string YearTypeDescr
        {
            set { yearTypeDescr = value; }
            get { return yearTypeDescr; }
        }

        public string SumAmount
        {
            set { sumAmount = value; }
            get { return sumAmount; }
        }

        public string PurchaseType
        {
            set { purchaseType = value; }
            get { return purchaseType; }
        }
    }
}
